import javax.microedition.midlet.MIDlet;
import javax.microedition.lcdui.Display;
public class GraphicsMIDlet extends MIDlet{
	private Display display;	
	private ShadowEffect se;
	private XOREffect xe;
	public GraphicsMIDlet(){
		display = Display.getDisplay(this);
		se = new ShadowEffect(this);
		xe = new XOREffect(this);
	}
	public void startApp(){
		display.setCurrent(se);
		// display.setCurrent(xe);
	}
	public void pauseApp(){

	}
	public void destroyApp(boolean conditional){

	}
	public void exit(){
		System.gc();
		destroyApp(false);
		notifyDestroyed();
	}
}